<%@page import="com.project.util.StringUtil"%>
<%@page import="com.project.vo.User"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	User user = (User)request.getAttribute(StringUtil.USER);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<title>个人信息修改</title>
</head>
<body>
	<%@ include file="/WEB-INF/jsp/include/admin/top.jsp"%>
	<%@ include file="/WEB-INF/jsp/include/admin/left.jsp"%>
<div class="main col-lg-9 col-md-9 col-xs-12 col-sm-12">	
	<form action="admin/user/update" method="post">
			<input type="hidden" name="oldId" id="oldId"
				value="<%=user.getId()%>">
			<table class="table col-lg-12 col-md-12 col-xs-12 col-sm-12">
				<tr>
					<th>用户名:</th>
					<td><input type="text" name="name" id="name"
						value="<%=user.getName()%>"></td>
				</tr>
				<tr>
					<th>联系电话:</th>
					<td><input type="text" name="phone" id="phone"
						value="<%=user.getPhone()%>"></td>
				</tr>
				<tr>
					<th>邮箱:</th>
					<td><input type="text" name="email" id="email"
						value="<%=user.getEmail()%>"></td>
				</tr>
				<tr>
					<th>身份证号码:</th>
					<td><input type="text" name="IDCard" id="IDCard"
						value="<%=user.getIDCard()%>"></td>
				</tr>
				<tr>
					<th>简介:</th>
					<td><textarea rows="3" cols="18" name="description"
							id="description"><%=user.getDescription()%></textarea></td>
				</tr>
				<tr>
					<td><input type="submit" class="btn" value="确认修改"></td>
					<td><input type="reset" class="btn" value="重新填写"></td>
				</tr>
			</table>
		</form>
	</div>
	<%@ include file="/WEB-INF/jsp/include/bottom.jsp"%>
</body>
</html>